package cn.leaf.chain;

/**
 *
 * desc: 员工处理类
 *
 * @author twinkle-leaf
 * @version v1.0.0
 * slogan: There are no two identical leaves in the world.🍃
 *
 */
public class EmpChainHandler extends ChainHandler {

    @Override
    public void handler(Integer level) {
        if (level > 0 && level <= 10) {
            System.out.println("员工处理");
        } else {
            super.nextChainHandler.handler(level);
        }
    }
}
